Optimal. Leaf size=94 \[ -\frac {9}{14 a^2 x^7}+\frac {9 b}{10 a^3 x^5}-\frac {3 b^2}{2 a^4 x^3}+\frac {9 b^3}{2 a^5 x}+\frac {1}{2 a x^7 \left (a+b x^2\right )}+\frac {9 b^{7/2} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{2 a^{11/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 94, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 3, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {296, 331, 211}
\begin {gather*} \frac {9 b^{7/2} \text {ArcTan}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{2 a^{11/2}}+\frac {9 b^3}{2 a^5 x}-\frac {3 b^2}{2 a^4 x^3}+\frac {9 b}{10 a^3 x^5}-\frac {9}{14 a^2 x^7}+\frac {1}{2 a x^7 \left (a+b x^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 211
Rule 296
Rule 331
Rubi steps
\begin {align*} \int \frac {1}{x^8 \left (a+b x^2\right )^2} \, dx &=\frac {1}{2 a x^7 \left (a+b x^2\right )}+\frac {9 \int \frac {1}{x^8 \left (a+b x^2\right )} \, dx}{2 a}\\ &=-\frac {9}{14 a^2 x^7}+\frac {1}{2 a x^7 \left (a+b x^2\right )}-\frac {(9 b) \int \frac {1}{x^6 \left (a+b x^2\right )} \, dx}{2 a^2}\\ &=-\frac {9}{14 a^2 x^7}+\frac {9 b}{10 a^3 x^5}+\frac {1}{2 a x^7 \left (a+b x^2\right )}+\frac {\left (9 b^2\right ) \int \frac {1}{x^4 \left (a+b x^2\right )} \, dx}{2 a^3}\\ &=-\frac {9}{14 a^2 x^7}+\frac {9 b}{10 a^3 x^5}-\frac {3 b^2}{2 a^4 x^3}+\frac {1}{2 a x^7 \left (a+b x^2\right )}-\frac {\left (9 b^3\right ) \int \frac {1}{x^2 \left (a+b x^2\right )} \, dx}{2 a^4}\\ &=-\frac {9}{14 a^2 x^7}+\frac {9 b}{10 a^3 x^5}-\frac {3 b^2}{2 a^4 x^3}+\frac {9 b^3}{2 a^5 x}+\frac {1}{2 a x^7 \left (a+b x^2\right )}+\frac {\left (9 b^4\right ) \int \frac {1}{a+b x^2} \, dx}{2 a^5}\\ &=-\frac {9}{14 a^2 x^7}+\frac {9 b}{10 a^3 x^5}-\frac {3 b^2}{2 a^4 x^3}+\frac {9 b^3}{2 a^5 x}+\frac {1}{2 a x^7 \left (a+b x^2\right )}+\frac {9 b^{7/2} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{2 a^{11/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 91, normalized size = 0.97 \begin {gather*} -\frac {1}{7 a^2 x^7}+\frac {2 b}{5 a^3 x^5}-\frac {b^2}{a^4 x^3}+\frac {4 b^3}{a^5 x}+\frac {b^4 x}{2 a^5 \left (a+b x^2\right )}+\frac {9 b^{7/2} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{2 a^{11/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.05, size = 77, normalized size = 0.82
method | result | size |
default | \(\frac {b^{4} \left (\frac {x}{2 b \,x^{2}+2 a}+\frac {9 \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{2 \sqrt {a b}}\right )}{a^{5}}-\frac {1}{7 a^{2} x^{7}}+\frac {2 b}{5 a^{3} x^{5}}-\frac {b^{2}}{a^{4} x^{3}}+\frac {4 b^{3}}{a^{5} x}\) | \(77\) |
risch | \(\frac {\frac {9 b^{4} x^{8}}{2 a^{5}}+\frac {3 b^{3} x^{6}}{a^{4}}-\frac {3 b^{2} x^{4}}{5 a^{3}}+\frac {9 b \,x^{2}}{35 a^{2}}-\frac {1}{7 a}}{x^{7} \left (b \,x^{2}+a \right )}+\frac {9 \left (\munderset {\textit {\_R} =\RootOf \left (a^{11} \textit {\_Z}^{2}+b^{7}\right )}{\sum }\textit {\_R} \ln \left (\left (3 \textit {\_R}^{2} a^{11}+2 b^{7}\right ) x -a^{6} b^{3} \textit {\_R} \right )\right )}{4}\) | \(109\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.49, size = 86, normalized size = 0.91 \begin {gather*} \frac {315 \, b^{4} x^{8} + 210 \, a b^{3} x^{6} - 42 \, a^{2} b^{2} x^{4} + 18 \, a^{3} b x^{2} - 10 \, a^{4}}{70 \, {\left (a^{5} b x^{9} + a^{6} x^{7}\right )}} + \frac {9 \, b^{4} \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{2 \, \sqrt {a b} a^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.37, size = 220, normalized size = 2.34 \begin {gather*} \left [\frac {630 \, b^{4} x^{8} + 420 \, a b^{3} x^{6} - 84 \, a^{2} b^{2} x^{4} + 36 \, a^{3} b x^{2} - 20 \, a^{4} + 315 \, {\left (b^{4} x^{9} + a b^{3} x^{7}\right )} \sqrt {-\frac {b}{a}} \log \left (\frac {b x^{2} + 2 \, a x \sqrt {-\frac {b}{a}} - a}{b x^{2} + a}\right )}{140 \, {\left (a^{5} b x^{9} + a^{6} x^{7}\right )}}, \frac {315 \, b^{4} x^{8} + 210 \, a b^{3} x^{6} - 42 \, a^{2} b^{2} x^{4} + 18 \, a^{3} b x^{2} - 10 \, a^{4} + 315 \, {\left (b^{4} x^{9} + a b^{3} x^{7}\right )} \sqrt {\frac {b}{a}} \arctan \left (x \sqrt {\frac {b}{a}}\right )}{70 \, {\left (a^{5} b x^{9} + a^{6} x^{7}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.20, size = 138, normalized size = 1.47 \begin {gather*} - \frac {9 \sqrt {- \frac {b^{7}}{a^{11}}} \log {\left (- \frac {a^{6} \sqrt {- \frac {b^{7}}{a^{11}}}}{b^{4}} + x \right )}}{4} + \frac {9 \sqrt {- \frac {b^{7}}{a^{11}}} \log {\left (\frac {a^{6} \sqrt {- \frac {b^{7}}{a^{11}}}}{b^{4}} + x \right )}}{4} + \frac {- 10 a^{4} + 18 a^{3} b x^{2} - 42 a^{2} b^{2} x^{4} + 210 a b^{3} x^{6} + 315 b^{4} x^{8}}{70 a^{6} x^{7} + 70 a^{5} b x^{9}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 2.37, size = 81, normalized size = 0.86 \begin {gather*} \frac {9 \, b^{4} \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{2 \, \sqrt {a b} a^{5}} + \frac {b^{4} x}{2 \, {\left (b x^{2} + a\right )} a^{5}} + \frac {140 \, b^{3} x^{6} - 35 \, a b^{2} x^{4} + 14 \, a^{2} b x^{2} - 5 \, a^{3}}{35 \, a^{5} x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 4.56, size = 80, normalized size = 0.85 \begin {gather*} \frac {\frac {9\,b\,x^2}{35\,a^2}-\frac {1}{7\,a}-\frac {3\,b^2\,x^4}{5\,a^3}+\frac {3\,b^3\,x^6}{a^4}+\frac {9\,b^4\,x^8}{2\,a^5}}{b\,x^9+a\,x^7}+\frac {9\,b^{7/2}\,\mathrm {atan}\left (\frac {\sqrt {b}\,x}{\sqrt {a}}\right )}{2\,a^{11/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________